#!/bin/sh

if [ -n "`%OPTWARE_TARGET_PREFIX%/bin/pidof tinyproxy`" ] ; then
    %OPTWARE_TARGET_PREFIX%/bin/killall tinyproxy 2>/dev/null
fi

sleep 2
%OPTWARE_TARGET_PREFIX%/sbin/tinyproxy
